home *** CD-ROM | disk | FTP | other *** search
/ Apple Macintosh CD: Power Macintosh 5400 Series / mac5400.iso / Apple Extras / Open Transport Information / Open Transport Technical Info < prev   
Text File  |  1996-01-17  |  25KB  |  228 lines

  1. Open Transport Technical Information
  2.  
  3. About This Document
  4.  
  5. This document contains technical information about Open Transport that may be useful to network administrators and managers. You do not need the information in this document in order to use Open Transport on your Macintosh computer. 
  6.  
  7. Contents
  8.  
  9. Introduction
  10. Files Added by the Open Transport Installer
  11. What's New in Open Transport
  12.             - Static and Dynamic AppleTalk Address Allocation
  13.             - Use of Parameter RAM
  14. Open Transport TCP/IP Features
  15.             - DHCP Server Support
  16.             - DHCP Address Lease Support
  17.             - Windows NT Advanced Server Support
  18.             - Local HOSTS File Support
  19.             - Human Interface Design
  20.             - MacTCP “Server” Addressing Support
  21.             - MacTCP “Dynamic” Addressing Support
  22.             - MacIP Support
  23.             - PPP Connectivity
  24. Application Compatibility with Open Transport
  25.             - Backward Compatibility
  26. Performance
  27.             - Large Datagram Support
  28.  
  29. Introduction
  30.  
  31. Apple Open Transport is the modern networking and communications subsystem for the Mac OS. It is based on industry standards and brings a new level of networking connectivity, control, and compatibility to MacOS systems, while preserving and enhancing the hallmark of the Macintosh and Mac OS – built-in support for easy-to-use networking.
  32.  
  33. Open Transport is designed to make it easier and more cost-effective to develop Macintosh-based applications for a wide variety of customers and markets. With Open Transport, Mac OS has built-in networking and communications based on cross-platform industry standards including the POSIX compliant X/Open Transport Interface (XTI), UNIX STREAMs and Data Link Provider Interface (DLPI).
  34. Applications written to support Open Transport can directly support a wide range of networking environments (serial, dial-up network, LAN, and WAN), and multiple protocols (AppleTalk, TCP/IP, serial, and others) from a common code base. This capability is sometimes referred to as transport independence.
  35.  
  36. Open Transport 1.1 includes AppleTalk and TCP/IP protocols, and developer access to serial communications. Apple and third parties are working to add support to Open Transport for Point to Point Protocol (PPP), NetWare (NCP/IPX), Windows 95 (SMB/TCP/NetBIOS), DECnet, LAT, and X.25. Some of these additional capabilities may be incorporated or bundled with future releases of Apple Open 
  37.  
  38. Files Added by the Open Transport Installer
  39.  
  40. The Open Transport Installer adds the following Extension files to Mac OS System Folder:
  41.  
  42. Open Transport Library contains the Open Transport code resource for 680x0-based Macintosh systems.
  43.  
  44. Open Tpt AppleTalk Library contains the code resource for AppleTalk communication protocol for 680x0-based Macintosh systems and AppleTalk compatibility support.
  45.  
  46. Open Tpt Internet Library contains the code resource for TCP/IP communication protocol for 680x0-based Macintosh systems and MacTCP compatibility support.
  47.  
  48. OpenTransportLib contains the code resource for PowerPC-based Macintosh systems.
  49.  
  50. OpenTptAppleTalkLib contains the code resource for AppleTalk communication protocol for PowerPC-based Macintosh systems.
  51.  
  52. OpenTptInternetLib contains the code resource for TCP/IP communication protocol for PowerPC-based Macintosh systems.
  53.  
  54. Ethernet (Built-In) contains the code resource allowing access to a built-in Ethernet port.
  55.  
  56. Serial (Built-In) contains the code resource allowing access to built-in serial ports.
  57.  
  58. Open Transport Guide Additions is an Apple Guide database that adds Open Transport instructions to Macintosh Guide
  59.  
  60. Open Transport also installs the new AppleTalk and TCP/IP configuration utilities (control panels) into the Control Panels folder in the System Folder. 
  61.  
  62.  
  63. What’s New in Open Transport
  64.  
  65. The new Open Transport/AppleTalk and Open Transport/TCP both have been implemented as Open Transport STREAMs modules and as native code on Power Macintosh computers. They support the new XTI APIs, and their shared libraries can be dynamically loaded and unloaded as needed.
  66.  
  67. Both protocols also support dynamic reconfiguration (changed settings without requiring reboot), and feature new configuration applications offering Basic, Advanced, and Administrator tools. The new configuration applications – AppleTalk and TCP/IP – replace the older control panel implementations – Network, MacTCP, and AdminTCP. To enhance ease of use and backward compatibility, the new applications are stored in the Control Panels folder in the System Folder.
  68.  
  69. Static and Dynamic AppleTalk Address Allocation
  70.  
  71. Open Transport/AppleTalk includes support for assigned (manually administered) protocol addresses. This allows AppleTalk nodes to be managed using protocol address as a unique and stable identifier. It can also reduce some of the network traffic associated with AppleTalk’s dynamic address assignment features (AARP).
  72. Dynamic addressing continues to be available for those customers who prefer the automated address allocation.
  73.  
  74. Network managers who prefer to have the network infrastructure automatically assign unique protocol addresses can continue to rely on AppleTalk Address Resolution Protocol (AARP). Network managers who find advantages in having fixed and well-known protocol addresses for each end-node can implement manual addressing. 
  75.  
  76. When manual addressing is selected it is necessary to allocate and assign the initial protocol addresses, which will subsequently be “locked”. Some administrators may prefer to do this allocation based on a central numbering plan, creating individual configuration templates (recommended or required settings) for each user. Others may prefer to allow the network to determine the initial address configuration (i.e., use dynamic addressing once), and then lock the uniquely assigned addresses after initialization.
  77.  
  78. It is important that all nodes on each individual AppleTalk subnet (a given cable segment assigned a unique network number or network number range) be administered consistently — either all with dynamic addressing or all with pre-assigned static addresses. This avoids a potential conflict between a new dynamic node acquiring an address assigned to an off-line, manually-addressed node. Administrators can enforce the addressing policy for a subnet by locking the addressing mode in the “dynamic” or in the “manual” state. As an administrative precaution, however, Open Transport/AppleTalk does continue to check for the presence of duplicate protocol addresses on the LAN when static addressing is configured.
  79.  
  80. Use of Parameter RAM
  81.  
  82. Under the classic AppleTalk networking architecture, AppleTalk’s ON/OFF state, the selected network interface, the previous network (protocol) address, and the previous AppleTalk zone name were saved in persistent memory (parameter RAM) for reuse at boot time. To ensure backward compatibility, this information is still stored and retrieved on systems using Open Transport/AppleTalk. However, there are some changes made with Open Transport to accommodate the expanded capabilities of multiple, saved configuration files, and required network settings.
  83. •    At boot time, Open Transport reads the current AppleTalk configuration file to determine if AppleTalk should be set to ON or OFF. This value will override the value saved in parameter RAM.
  84. •    If the network interface specified in the current AppleTalk configuration file is locked (it is a required setting) and if the specified port is not available or cannot be initialized, AppleTalk compatibility will not automatically switch the port back to LocalTalk. Instead, AppleTalk will remain OFF. The user will receive a dialog notification in the event this occurs.
  85.  
  86.  
  87. Open Transport TCP/IP Features
  88.  
  89. With the broad adoption of TCP/IP – and the tremendous excitement and visibility of the Internet – Apple has made a significant investment in bringing a workstation-class implementation of TCP/IP protocols to Mac OS. As with MacTCP, Open Transport/TCP is a full 32-bit stack. Open Transport/TCP adds support for:
  90.  
  91. •    dynamic path MTU discovery, for more efficient network use in heterogeneous network topologies;
  92. •    Dynamic Host Configuration Protocol (DHCP), for centralized IP address configuration management. DHCP is an Internet Engineering Task Force (IETF) standards-track protocol;
  93. •    IP multicast, for participation as an MBone client;
  94. •    simultaneous TCP connections limited only by installed memory and processor power, for increased functionality as a Internet or other TCP/IP network server;
  95. •    a new, more robust and standards-compliant domain name resolver (a caching stub DNR);
  96. •    support for developer access to raw IP services, as well as TCP and UDP;
  97. •    Ethernet version 2 and IEEE 802.3 framing, for better interoperability with a wider range of TCP/IP hosts;
  98. •    implicit and explicit domain name search paths, for increased control of domain name resolution; and,
  99. •    multiple IP routers with fail-over, for increased robustness in mission critical applications. 
  100.  
  101. DHCP Server Support
  102.  
  103. Apple’s implementation conforms to the current versions of the applicable specification documents (RFCs). To date, Open Transport/TCP has been tested with the following DHCP server implementations:
  104. •    Competitive Automation,
  105. •    FTP Software (http://www.ftp.com),
  106. •    Hewlett Packard HP-UX (http://www.hp.com),
  107. •    Microsoft Windows NT Advanced Server,
  108. •    Silicon Graphics (http://www.sgi.com),
  109. •    Sun Solaris and SunOS (http://www.sun.com), and
  110. •    TGV (http://www.tgv.com).
  111.  
  112. DHCP Address Lease Support
  113.  
  114. Open Transport/TCP fully supports DHCP address leases. Open Transport/TCP will automatically attempt to renew any address lease that reaches its Renewal Interval, which defaults to half of the lease’s lifetime. The Renewal Interval may be configured to a different value by making changes to the configuring DHCP server. Renewal will be attempted regardless of how many times the lease has already been renewed. Should an interface’s IP address lease expire, the interface will be closed down. 
  115.  
  116. Windows NT Advanced Server Support
  117.  
  118. With Open Transport 1.1, Mac OS clients are fully interoperable with the Windows NTAS DHCP server. 
  119.  
  120. Macintosh clients running earlier versions of Open Transport (1.0.x) could experience some interoperability problems due to significant differences between the Microsoft implementation and that of a typical UNIX-based server.
  121.  
  122. Local HOSTS File Support
  123.  
  124. Open Transport/TCP supports a HOSTS file, stored in the System Preferences folder, that may be used to supplement and/or customize the Domain Name Resolver's initial cache of information. This file is parsed when Open Transport/TCP is initialized. As in MacTCP, the supported HOSTS file features follow a subset of the Domain Name System Master File Format (RFC 1035).
  125.  
  126. Should a HOSTS file be used, every effort should be made to keep it as small as possible, and to only include entries that will be accessed frequently. This reduces the total memory footprint required to cache the DNS information and minimizes the need to maintain and update the HOSTS files as system information changes over time.
  127. In order to activate a HOSTS file, Open Transport/TCP must be configured using either the Advanced or Administrator mode to select the appropriate file. The text file must already exist, and can be created with any text editor or word processor. Also note that the HOSTS file selection is tied to the selected configuration. An administrator might, for example, specify different HOSTS files for use when a user connects via Ethernet on the campus LAN and that same user when dialing-in from a remote location.
  128.  
  129. Human Interface Design
  130.  
  131. The Open Transport/TCP configuration application represents a complete overhaul of the human interface from the MacTCP software it replaces. In addition to generic new features noted elsewhere (multiple saved configurations, recommended and required settings, on-line documentation, etc.), key new features include:
  132.  
  133. •    direct entry of IP addresses and subnet mask in standard “dot notation”;
  134. •    explicit selection of desired configuration method, now including Manual, RARP, BootP, MacIP, and DHCP;
  135. •    support for attachment to networks using Classless InterDomain Routing (CIDR);
  136. •    support for multiple entries in the router, name server, and explicit domain search lists; and
  137. •    improved support for large AppleTalk networks when using MacIP server/gateways.
  138.  
  139. MacTCP “Server” Addressing Support
  140.  
  141. MacTCP Server mode addressing is a combination of the Bootstrap Protocol (BootP) and Reverse Address Resolution Protocol (RARP) configuration methods. When Server mode is selected, MacTCP uses BootP to attempt to acquire an IP address. If BootP fails to provide a valid address, MacTCP tries RARP. Whichever protocol is successful is stored as a preference, and is used first on next system startup. While this “fall-back” approach adds a degree of robustness from the user’s point of view, it also adds a degree of unpredictability from a network administrator’s point of view.
  142.  
  143. Based on customer feedback, Open Transport/TCP allows a network administrator to explicitly specify the single method they prefer to use. Thus while both RARP and BootP are supported, the Server mode does not appear as a choice in the Open Transport/TCP configuration utility.
  144.  
  145. MacTCP “Dynamic” Addressing
  146.  
  147. Open Transport 1.1 does not support MacTCP “Dynamic” addressing. MacTCP “Dynamic” mode addressing was based on an Apple-proprietary extension to TCP/IP protocols. It applied the address negotiation and assignment rules used by the AppleTalk protocols to TCP/IP networks, making it very easy to set-up a Macintosh-only standalone TCP/IP network. Use of this Dynamic Addressing method in other scenarios, however, could create additional work for a network administrator. 
  148.  
  149. The Internet community (the IETF) has since developed a multivendor standard for the dynamic assignment of IP addresses, known as Dynamic Host Configuration Protocol (DHCP). Apple has adopted the industry standard DHCP and dropped support for the earlier “dynamic” mode addressing with Open Transport/TCP.
  150.  
  151. MacIP Support
  152.  
  153. MacIP, sometimes also referred to as KIP (Kinetics Internet Protocol), is a protocol specification developed as a method for carrying TCP/IP traffic on AppleTalk-only networks – originally LocalTalk networks. MacIP is today frequently used with AppleTalk Remote Access Protocol (ARAP) to provide mobile users access to TCP/IP network services. MacIP specifies encapsulation of TCP/IP datagrams in AppleTalk packets for transmission over such connections. 
  154.  
  155. Use of MacIP requires a gateway. AppleTalk encapsulated IP packets are sent to the MacIP gateway using AppleTalk protocols (DDP). The gateway strips off the AppleTalk encapsulation and places the IP packet on the TCP/IP LAN. When packets are destined for the MacIP end-node, that gateway provides the needed encapsulation services.
  156. MacIP gateway support is most frequently offered as an integrated service within a multiprotocol router. The gateway (router) attaches to both an AppleTalk and a TCP/IP network, acting as a middleman between the MacIP end-node and the appropriate TCP/IP-based hosts on the LAN or WAN. 
  157.  
  158. Open Transport includes end-node support for MacIP. A end-node is configured to use MacIP using the TCP/IP configuration utility by selecting “AppleTalk (MacIP)” in the “Connect via:” pop-up menu. The user (or network administrator) must also specify where on the network (in which zone) to look for the MacIP gateway. Once selected, TCP/IP will be encapsulated in AppleTalk and will be sent out the “Connect via:” interface selected using the AppleTalk configuration utility.
  159.  
  160. Open Transport/TCP includes a new human interface for selecting the MacIP server which offers the following new features:
  161.  
  162. •    AppleTalk zones are now displayed in a true scrolling list in a movable window. This display is easier to view compared to MacTCP’s pop-up menu when there are a large number of zones in the network.
  163. •    The Zone list window now supports selection using the mouse, the arrow keys, and/or “type-select”, allowing the user to more quickly select a specific zone from the list.
  164. •    There is an option to display only those AppleTalk zones containing MacIP servers. When selected, this creates a background search task which when completed filters the zone list display to show only those zones containing active MacIP servers.
  165. •    There is a short cut “Current Zone” option which causes the Mac to check the current AppleTalk zone for a MacIP server without requiring the user to select a specific zone. This can be a time-saver for the user and a potential bandwidth-saver on the network, especially  when there are mobile users that connect in different locations to a enterprise-wide network for MacIP services.
  166. Network Interface Options
  167.  
  168. PPP Connectivity
  169.  
  170. PPP (Point to Point Protocol) connectivity is not bundled with Open Transport at this time. AppleTalk and TCP/IP connectivity over Open Transport/PPP is planned to first be offered as a feature of upcoming Apple Remote Access products. ARA products would include necessary Open Transport components.
  171.  
  172. Apple currently plans to fully merge ARA client and personal server capabilities with basic Open Transport capabilities to offer an integrated communications package for LANs, WANs, and remote networking. These integrated capabilities are also expected to be delivered as a part of a future update to Mac OS. This timetable has not been finalized; details will be announced at a later date.
  173.  
  174.  
  175. Application Compatibility with Open Transport
  176.  
  177. Apple has defined three levels of interoperability with Open Transport. The first – known as Open Transport Compatible – is used to describe a network application originally developed for “classic” AppleTalk or MacTCP, that now takes advantage of Open Transport Compatibility Services. These applications automatically gain the benefits associated with the new Open Transport configuration utilities. However, they will not realize a significant performance increase on Power Macintosh systems, nor can they take advantage of Open Transport’s transport-independence capabilities.
  178.  
  179. Open Transport Ready applications are those that have been modified to adopt the new Open Transport APIs (XTI). They are PowerPC native, in addition to running on 680x0-based Macintosh systems. Open Transport Ready applications not only benefit from the new configuration utilities, but have the opportunity for a significant performance boost when running on Power Macintosh.
  180.  
  181. The third (highest) category of interoperability is referred to as Open Transport Enhanced. In addition to adopting the new Open Transport APIs and being Power PC native, these applications have been modified to exploit the transport-independent capabilities of Open Transport, i.e., they can be dynamically configured to support AppleTalk, TCP/IP, or serial communications.
  182.  
  183. Backward Compatibility
  184.  
  185. Applications that rely on undocumented APIs or examine private data structures in current the AppleTalk or MacTCP may not be fully compatible with Open Transport. Examples include the MacSNMP AppleTalk and TCP/IP Agents (however, MacSNMP and the Macintosh System Agent are compatible), the Apple Internet Router 3.x and some utilities like MacTCP Watcher and MacTCP Spy. Updated versions of these software products will be required for full compatibility.
  186.  
  187. Performance
  188.  
  189. Open Transport is written to take advantage of the PowerPC processor – it is native code. This provides the necessary foundation for increased networking performance in Mac OS. To realize performance gains, however, it is equally important that networking applications also be accelerated for Power Macintosh, and that applications adopt the new Open Transport XTI-based programming interfaces.
  190.  
  191. The built-in “backward compatibility” support for existing AppleTalk and TCP/IP applications must continue to run as 680x0 code in emulation on Power Macintosh. This protects a customer's investment in networking applications, but also obscures underlying performance increases from the native protocol implementations.
  192.  
  193. In general, current Mac OS networking applications are written for the 680x0 processor, and use the “classic” (68K-based) networking programming interfaces. These applications are not likely to see performance boosts with Open Transport, as most of the performance potential is based on the move to native code for the PowerPC processor. Even for Power Macintosh native applications, a continued use of the Open Transport backward compatibility libraries offsets most of the performance gains in the low level protocol handling.
  194.  
  195. Users who select Power Macintosh native applications that are Open Transport-ready will realize the greatest performance gains. Performance of specific network applications may also be significantly influenced by the processor speed of the system. Customers with demanding, network I/O intensive applications should give strong consideration to the higher performance PowerPC-based Macintosh systems.
  196.  
  197. However, even with 68K emulated applications using backward compatibility, TCP/IP users are more likely to see some performance improvements with Open Transport. This is because of the differences in the way compatibility is provided for MacTCP vs. AppleTalk, and differences in the two protocol architectures.
  198.  
  199. Performance will be greater with protocols that use larger datagram sizes – such as TCP/IP – than with AppleTalk (which has a fixed and limited datagram size). On high-speed datalinks such as fast Ethernet, FDDI, and ATM, the performance of the network interface card (NIC) driver code is also a significant factor. Comparative shopping for NICs – based on price, service, reliability, and performance – will be in order.
  200.  
  201. Open Transport running on the built-in Ethernet of the Power Macintosh 9500 has been clocked at 9.3 Mbps throughput using low-level TCP/IP benchmarks. A pre-release version of a third party Open Transport-native implementation of ‘NFS’ protocols was benchmarked at 8.4 Mbps. Both figures approach theoretical maximum performance for 10 Mbps Ethernet. AppleTalk performance is somewhat lower, with low-level benchmarking coming in at a bit over 7.5 Mbps throughput.
  202.  
  203. The Open Transport engineering team is continuing to work with NIC developers to realize high-performance DLPI drivers for high-speed datalinks. This is a cooperative effort, with work being done on both driver code and on Open Transport. We expect that high-speed datalink NIC drivers based on Open Transport 1.1 can be fully competitive with other PCI networking products. Of course, performance tuning will be an ongoing priority, as Apple intends to always offer a platform capable of industry leading network performance.
  204.  
  205. Benchmarking on these types of datalinks, with pre-release Open Transport 1.1,  has been underway for some time. Some sample results include:
  206.  
  207. •    48 Mbps with a Rockwell fast Ethernet card and driver (1500 byte block size)
  208. •    72 Mbps with a Rockwell FDDI card and driver (4K block size)
  209. •    93 Mbps with an Interphase ATM-155 card and driver (8K block size)
  210.  
  211. These tests were performed using Open Transport/TCP 1.1 beta software, running on a Power Macintosh 9500/132, and reflect memory to memory, point to point transfers (the “SpudPPC” test tool) on a dedicated test bed. In addition to these numbers, we’ve seen even higher throughput from Fore Systems on their ATM card, using UDP. 
  212.  
  213. AppleTalk performance is expected to be lower than TCP/IP performance due to various technical issues, including DDP packet size and the ATP retry-acknowledgment algorithm. Current testing on fast Ethernet is turning in figures around 35-40 Mbps with a PowerPC native ATP test tool.
  214.  
  215. Large Datagram Support
  216.  
  217. Maximum allowable datagram size is dependent on both the selected datalink and the selected protocol stack. Open Transport supports the use of large datagram sizes as appropriate to the protocol and datalink in use.
  218.  
  219. Because Open Transport/AppleTalk is based on the Phase 2 architecture, datagram size for AppleTalk is limited to a maximum of 617 bytes. Open Transport/TCP supports larger datagrams; up to 1,500 bytes on Ethernet and fast Ethernet, and up to 16K on token ring. Even larger block sizes can be used on FDDI and ATM.
  220.  
  221. Block size does play a role in maximum throughput; the larger the block size used, the greater the potential end-to-end throughput. Users demanding the highest network throughput may find FDDI to be a more attractive alternative than fast Ethernet because it can support larger block sizes at the same bit rate.
  222.  
  223.  
  224. ©1995  Apple Computer. Inc.
  225. Apple,  the Apple logo, and Macintosh are trademarks of Apple Computer, Inc., registered in the U.S.A. and other countries. Power Macintosh and Open Transport  are trademarks of Apple Computer, Inc. All other product names are trademarks or registered trademarks of their respective holders. Mention of non-Apple products is for information purposes and constitutes neither an endorsement nor a recommendation. Apple assumes no responsibility with regard to the selection, performance, or use of these products.
  226.  
  227. Updated December 22, 1995